home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 4 / developer source - volume 4.iso / dobbs / jul95 / haak1t2a.gif < prev    next >
Graphics Interchange Format  |  1996-06-11  |  148KB  |  534x743  |  4-bit (16 colors)
Labels: text | screenshot | document | menu | number | font | parallel
OCR: Input: AX= 4F00h Return VBE controller information ES:DI = Pointer to buffer in which to place VbeinfoBlock structure. (VbeSignature should be set to 'VBE2' when function is called to indicate VBE 2.0 information is desired and the information block is 512 bytes in size.) Output *: AX = VBE retum status Input: AX = 4F01h Return VBE mode information CX - Mode number ES:DI = Pointer to ModeinfoBlock structure Output *: AX = VBE return status Input: AX = 4F02H Set VBE mode Desired modo to set DO-D8 = Mode number D9-013 = Reserved (must be 0) D14 = 0 Use windowed frame buffer mode! Use linear/flat frame buffer model D15=0 Clear display memory Don't clear display memory Output : AX = VBE return status Input: AX = 4F03h Return current VBE mode Output : AX = VBE Return Status BX= Current VBE mode DO-D13 = 014=0 Mode number Windowed frame buffer model Linear/flat frame buffer model D15 = 0 Memory cleared at last mode set Memory not cleared at last mode set Input: AX = 4F04h Save/restore state DE = 00h Return save/restore state buffer size = 01h Save state = 02h Restore state CX - Requested states DO = Save/Restore controller hardware state D1 - Save/Restore BIOS data state 02 - Save/Restore DAC state Save/Restore Register state ES:BX = Pointer to butter {if DL <> DOh) Output -*: AX = VBE retum status BX = Number of 64-byte blocks to hold the state buffer (if DL= 00h) Input: AX = 4F05h VBE display-window control BH = 00h Set memory window = 01h Get memory window BL - Wirkiow number = 00h Window A = 01h Window B DX= Window number in video memory in window-granularity units (set memory window only) Output: AX = VBE retum status DX = Window number in window-granularity units Table 2: VBE 2.0 function summary; changes from VBE 1.2 are in italics.